package com.dao;

import com.entity.User;

import java.util.List;

public interface UserDao {
    User findOne(User user);

    List<User> findAll();

    User findName(String username);

    int addOne(User user);
}
